package cn.lina.middleware.dynamic.thread.pool.sdk.registry;

import cn.lina.middleware.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
 * @author 24449
 * @date 2025/8/13
 * @description 注册中心接口
 */
public interface IRegistry {
    /**
     * 上报线程池信息
     * @param threadPoolEntities
     */
    void reportThreadPool(List<ThreadPoolConfigEntity> threadPoolEntities);

    /**
     * 上报线程池参数
     * @param threadPoolConfigEntity
     */
    void reportThreadPoolConfigParameter(ThreadPoolConfigEntity threadPoolConfigEntity);
}
